package com.bilibili.entity;

import java.util.Date;

public class User {
	private int userId;
	private String username;
	private String password;
	private String nickname;
	private int gender;
	private Date birthday;
	private int role;
	private String avatarUrl;
	private int type;
	

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public User(String username, String password, String nickname, int gender, Date birthday, int role,
			String avatarUrl) {
		super();
		this.username = username;
		this.password = password;
		this.nickname = nickname;
		this.gender = gender;
		this.birthday = birthday;
		this.role = role;
		this.avatarUrl = avatarUrl;
	}

	public User() {
		super();
	}

}
